import 'package:bruno/bruno.dart';
import 'package:flutter/material.dart';

import 'page/index_page.dart';

void main() {
  runApp(const MyApp());
}

class ResourceDe extends BrnResourceEn {
  static Locale locale = Locale('de', 'DE');
  @override
  String get cancel => 'Abbrechen';

  @override
  String get confirm => 'bestätigen';

  @override
  String get loading => 'Wird geladen';

  @override
  String get ok => 'Ok';
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: const IndexPage(),
      theme: ThemeData(
        primaryColor: Colors.blue,
        useMaterial3: true,
      ),
    );
  }
}
